package com.lecture.springlecture.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author luyn
 * @version 1.0
 * @description
 * @date 2020/8/6 11:19
 */
@Data
public class Menu {

    private Integer id;
    private String name;
    private String url;
    private Integer parentId;

    List<Menu> childMenu = new ArrayList<>();
}
